package com.atguigu.mp.mapper;

import com.atguigu.mp.bean.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where age < #{age}")
    public List<User> selectAge(Integer age);
}
